﻿#include "FITKAbaProfileL.h"


Interface::FITKAbaProfile::FITKAbaProfileShape Interface::FITKAbaProfileL::getShape() const
{
    return Interface::FITKAbaProfile::FITKAbaProfileShape::L;
}

bool Interface::FITKAbaProfileL::copy(FITKAbstractDataObject *obj)
{
    FITKAbaProfileL* l = dynamic_cast<FITKAbaProfileL*>(obj);
    if (l == nullptr)
        return false;
    this->setDataObjectName(l->getDataObjectName());
    m_a = l->m_a;
    m_b = l->m_b;
    m_t1 = l->m_t1;
    m_t2 = l->m_t2;
    return false;
}

double Interface::FITKAbaProfileL::getA() const
{
    return m_a;
}

double Interface::FITKAbaProfileL::getB() const
{
    return m_b;
}

double Interface::FITKAbaProfileL::getT1() const
{
    return m_t1;
}

double Interface::FITKAbaProfileL::getT2() const
{
    return m_t2;
}

void Interface::FITKAbaProfileL::setA(double value)
{
    m_a = value;
}

void Interface::FITKAbaProfileL::setB(double value)
{
    m_b = value;
}

void Interface::FITKAbaProfileL::setT1(double t1)
{
    m_t1 = t1;
}

void Interface::FITKAbaProfileL::setT2(double t2)
{
    m_t2 = t2;
}
